package com.business.activiti.mapper.auto;

import com.business.activiti.model.auto.AppealInfo;
import com.business.activiti.model.auto.AppealInfoExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

/**
 * 诉求信息 AppealInfoMapper
 * @author LuJingyuan_自动生成
 * @email 674326842@qq.com
 * @date 2020-11-18 14:12:53
 */
public interface AppealInfoMapper {
      	   	      	      	      	      	      	      	      	      	      	      	      
    long countByExample(AppealInfoExample example);

    int deleteByExample(AppealInfoExample example);
		
    int deleteByPrimaryKey(String id);
		
    int insert(AppealInfo record);

    int insertSelective(AppealInfo record);

    List<AppealInfo> selectByExample(AppealInfoExample example);
		
    AppealInfo selectByPrimaryKey(String id);
		
    int updateByExampleSelective(@Param("record") AppealInfo record, @Param("example") AppealInfoExample example);

    int updateByExample(@Param("record") AppealInfo record, @Param("example") AppealInfoExample example); 
		
    int updateByPrimaryKeySelective(AppealInfo record);

    int updateByPrimaryKey(AppealInfo record);

    List<AppealInfo> selectByMap(@Param("map")Map<String,String> map);

    AppealInfo selectOneByProcessInstance(@Param("processInstanceId")String processInstanceId);
}